#!/bin/bash

echo "开始更新程序"

cd /data/git_code/apiora-japan-prod/dev_api


echo "从git上面拉取代码"
git checkout japan-api

git pull

echo "同步到腾讯云api服务器"
rsync -avz /data/git_code/apiora-japan-prod/dev_api/* --exclude-from '/data/sh/apiora-exclude.txt' rsync://nginx@172.24.99.224/www/apiora


echo "更新完毕！！！"
